package com.st.service;

import com.st.entity.User;

public interface IUserService {
	/**
	 * 登录
	 */
	User login(User user);
	/**
	 * 修改密码
	 * @param user 
	 * @param oldpassword
	 * @param newpassword
	 * @param newpassword2
	 * @return
	 */
	int modifyPwd(User user, String oldpassword, String newpassword, String newpassword2);
	/**
	 * 删除
	 * @param eid
	 * @return
	 */
	int remove(int eid);
	/**
	 * 添加图片
	 * @param id
	 * @param fileName
	 * @return
	 */
	int addPhoto(Integer id, String photo);
}
